package cn.laixueit;

public class Student {
    int id;
    String name;
    int classId = 1; //有一个默认的zhi

    public static void main(String[] args) {
        Student student =  new Student();
        student.name="张三";
        student.id= 101;
        System.out.println(student.id);
        System.out.println(student.name);
        System.out.println(student.classId);
    }
}
